package Service;

import models.DailyDispage;
import models.User;
import models.daily;

import java.util.List;

/**
 * Created by 郑凯 on 2016/6/13.
 */
public interface UserOpService {
    User getUserByUid(String uid);
    List<daily> getListByUid(String uid);
    List<daily> getDailyDispage(DailyDispage dispage);
    daily getDailyByDid(String did);
    boolean saveDaily(String title,String content,String tab,String uid);
    int getCountDailyDispageByUid(String uid);
    boolean deleteDailyByDid(String did);
    void updateDailyByDid(String did,String title,String content,String tab);
    void modifyUserInfo(String uid,String name,String password,String imagePath);
    void updateUserDaily(String uid);

}
